arm/km: update mgcoge3un board support
authorHolger Brunck <[email protected]>
Tue, 31 May 2011 02:12:52 +0000 (02:12 +0000)
committerU-Boot <uboot@lilith.(none)>
Tue, 31 May 2011 17:46:19 +0000 (19:46 +0200)
commit8612b7015400e8b897ed3aeba03baf47cfbf1e94
tree52b02980fc960f9402216ad1251b5f8c18619405
parentd3920144e132eb7f30d40d4a5ad13ae85d2e2818
arm/km: update mgcoge3un board support

We change default settings for egiga on mgcoge3un.
The reason we need this is that we have the gig port on mgcoge3un
connected using a back-to-back pair of PHYs. There are no magnetics and
because of that the port has to be run with a fixd configuration and
auto-negotiation must be disabled. In the default mode the egiga driver
uses autoneg to determine port speed - which defaults to 1G (we need
100M full duplex).

Add wait for the GPIO line connected to mgcoge3ne before
starting mgcoge3un. A board specific ethernet present function
was added, because on this board ethernet is always present.
The BOCO FPGA access was enhanced and changed to use register
definitions.

Signed-off-by: Holger Brunck <[email protected]>
Signed-off-by: Valentin Longchamp <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
cc: Wolfgang Denk <[email protected]>
cc: Detlev Zundel <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
board/keymile/km_arm/km_arm.c
include/configs/mgcoge3un.h